<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>UpdateUserInfo</title>
    <link rel="stylesheet" type="text/css" href="css/login.css">
    <script src="js/Vue.js"></script>
    <script src="js/updateUserInfo.js"></script>
</head>
<body>
<div id="app" style="width: 100%;text-align: center">
    <div>
        <table style="margin: 10px auto">
            <tbody>
            <tr>
                <td>
                    姓名：
                </td>
                <td>
                    <label>
                        <input type="text" required placeholder="请输入新姓名" v-model="newName">
                    </label>
                </td>
            </tr>
            <tr>
                <td>
                    地址：
                </td>
                <td>
                    <label>
                        <input type="text" required placeholder="请输入新地址" v-model="newAddress">
                    </label>
                </td>
            </tr>
            <tr>
                <td>
                    密码：
                </td>
                <td>
                    <label>
                        <input type="text" required placeholder="请输入新密码" v-model="newPwd">
                    </label>
                </td>
            </tr>
            </tbody>
        </table>
        <p v-show="isFail">修改失败，或未进行修改</p>
        <button @click="submitUpdate">提交</button>
    </div>
</div>
</body>
</html>